package com.xiaofeng.subject.domain.convert;


import com.xiaofeng.subject.domain.entity.SubjectCategoryBO;
import com.xiaofeng.subject.domain.entity.SubjectLabelBO;
import com.xiaofeng.subject.infra.basic.entity.SubjectCategory;
import com.xiaofeng.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * Created with IntelliJ IDEA
 *
 * @Author: chc
 * @Date: 2024/01/23/20:34
 * @Description:
 */
@Mapper
public interface SubjectLabelConverter {

    SubjectLabelConverter INSTANCE = Mappers.getMapper(SubjectLabelConverter.class);

    SubjectLabel convertBoToLabel(SubjectLabelBO subjectLabelBO);

    List<SubjectLabelBO> convertLabelToBoList(List<SubjectLabel> subjectLabelList);

}
